package cn.teacher.pojo;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 毛苏宇
 * User: me
 * Date: 2020/6/25
 * Time: 18:55
 * Description:
 */
public class CompetitionPlan {

    private long cpId;
    private String cpTitle;
    private long createTime;
    private long updateTime;
    private String cpDescription;
    private String cpContent;
    private long userId;

    public CompetitionPlan() {
    }

    public CompetitionPlan(String cpTitle, long createTime, long updateTime, String cpDescription, String cpContent, long userId) {
        this.cpTitle = cpTitle;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.cpDescription = cpDescription;
        this.cpContent = cpContent;
        this.userId = userId;
    }

    public long getCpId() {
        return cpId;
    }

    public void setCpId(long cpId) {
        this.cpId = cpId;
    }

    public String getCpTitle() {
        return cpTitle;
    }

    public void setCpTitle(String cpTitle) {
        this.cpTitle = cpTitle;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getCpDescription() {
        return cpDescription;
    }

    public void setCpDescription(String cpDescription) {
        this.cpDescription = cpDescription;
    }

    public String getCpContent() {
        return cpContent;
    }

    public void setCpContent(String cpContent) {
        this.cpContent = cpContent;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "CompetitionPlan{" +
                "cpId=" + cpId +
                ", cpTitle='" + cpTitle + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", cpDescription='" + cpDescription + '\'' +
                ", cpContent='" + cpContent + '\'' +
                ", userId=" + userId +
                '}';
    }
}
